image.repart.partitions.<name>.contents

The contents to end up in the filesystem image.

Type
attribute set of (submodule)
Default
{ }
Example
{
  "/EFI/BOOT/BOOTX64.EFI".source =
    "${pkgs.systemd}/lib/systemd/boot/efi/systemd-bootx64.efi";

  "/loader/entries/nixos.conf".source = systemdBootEntry;
}
Declared
<nixpkgs/nixos/modules/image/repart.nix>